<?php

namespace app\controller;
use think\Request;
use app\controller\BaseController;
use app\service\NestService;

class Nest extends BaseController{
    private $nestService;

    public function __construct() {
        $this->nestService=new NestService();

    }

    public function versions(Request $input){
        $result=$this->nestService->getVersions($input);
        return $result;
    }

    public function metadata(Request $input){
        $result=$this->nestService->getMetaData($input);
        return $result;
    }

}
